package dht.statistics;

public class MovementStatistics {
	double startTime;
	int fromId;
	int fromVnodeCount;
	double fromLoad;
	int toId;
	int toVnodeCount;
	double toLoad;

	public MovementStatistics(double startTime, int fromId, int fromVnodeCount,
			double fromLoad, int toId, int toVnodeCount, double toLoad) {
		this.startTime = startTime;
		this.fromId = fromId;
		this.fromVnodeCount = fromVnodeCount;
		this.fromLoad = fromLoad;
		this.toId = toId;
		this.toVnodeCount = toVnodeCount;
		this.toLoad = toLoad;
	}

	public String toString() {
		return "###MovementStatistics begin###\nstartTime: " + startTime
				+ " fromId: " + fromId + " fromVnodeCount: " + fromVnodeCount
				+ " fromLoad: " + fromLoad + " toId: " + toId
				+ " toVnodeCount: " + toVnodeCount + " toLoad: " + toLoad
				+ "\n###MovementStatistics end###\n";
	}
}
